package org.bss;

public class Android extends SmartPhone{

	public void receive(){
		int a;
		System.out.println("calling receive for android");
	}

	public String List(){
		System.out.println("calling List for android");
		return null;

	}
	public void sendTxt(){
		System.out.println("calling sendTxt for android");
	} 

	public static void main(String[] args){
		Android ad= new Android();
		IPhone ip = new IPhone(); // added the Iphone class to check if it calls the receive method too
		ip.receive();
		ad.receive();
		ad.sendTxt();
		ad.List();
	}
	
}
